package com.harrison.dao;

import com.harrison.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Auther: harrison
 * @Date: 2019/6/21 18:05
 * @Description:
 */
public interface UserDao extends JpaRepository<User,Long> {
    User findByUsername(String username);
}
